<template>
  <h1>El组件-栅格布局</h1>

  <el-row>
    <el-col :span="8" style="border: 5px solid salmon">111</el-col>
    <el-col :span="8" style="border: 5px solid royalblue">222</el-col>
    <el-col :span="8" style="border: 5px solid yellow">333</el-col>
  </el-row>

  <el-row :gutter="30">
    <el-col :span="12"><img src="imgs/rich.jpg" width="100%"></el-col>
    <el-col :span="12"><img src="imgs/rich.jpg" width="100%"></el-col>
  </el-row>

  <el-row :gutter="30">
    <el-col :span="4" v-for="i in 6"><img src="imgs/rich.jpg" width="100%"></el-col>
  </el-row>

  <el-row :gutter="30">
    <el-col :span="4"><img src="imgs/rich.jpg" width="100%"></el-col>
    <el-col :span="8"><img src="imgs/rich.jpg" width="100%"></el-col>
    <el-col :span="12"><img src="imgs/rich.jpg" width="100%"></el-col>
  </el-row>

  <el-row :gutter="30">
    <el-col :span="3" style="border:2px solid green" v-for="i in 8">{{i}}</el-col>
  </el-row>

  <el-row>
    <el-col :span="26" :offset="0"><img src="imgs/rich.jpg" width="100%"></el-col>
  </el-row>

  <el-row>
    <el-col :span="12" style="border: 5px solid #00FFFF">111</el-col>
    <el-col :span="12" style="border: 5px solid #ff0000">
      <el-r>
        <el-row>
          <el-col :span="8" style="border: 5px solid #2fe000">111</el-col>
          <el-col :span="8" style="border: 5px solid #2c3e50">222</el-col>
          <el-col :span="8" style="border: 5px solid #00FFFF">333</el-col>
        </el-row>
      </el-r>
    </el-col>
  </el-row>
  <hr>

  <h2>我的主页</h2>
  <el-row :gutter="20">
    <el-col :span="8">
      <el-menu>
        <el-menu-item index="1">选项一</el-menu-item>
        <el-menu-item index="2">选项二</el-menu-item>
        <el-menu-item index="3">选项三</el-menu-item>
      </el-menu>
    </el-col>
    <el-col :span="16">
      <el-row :gutter="20">
        <el-col :span="8"><img src="imgs/rich.jpg" width="100%" alt=""></el-col>
        <el-col :span="8"><img src="imgs/rich.jpg" width="100%" alt=""></el-col>
        <el-col :span="8"><img src="imgs/rich.jpg" width="100%" alt=""></el-col>
      </el-row>
    </el-col>
  </el-row>





</template>
<script setup>







</script>
<style scoped>
</style>